package com.job.client.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.job.client.common.result.ResponseResult;
import com.job.client.model.company.dto.CompanyAuth;
import com.job.client.model.company.pojo.Company;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 公司详情表 服务类
 * </p>
 *
 * @author fkl
 * @since 2023-12-07
 */
public interface CompanyService extends IService<Company> {

    ResponseResult getCompanyById(String companyId);

    ResponseResult authUser(String authStr, HttpServletRequest request);

    ResponseResult companyAuth(CompanyAuth companyAuth,HttpServletRequest request);

    ResponseResult getCompanyInfoByList(List<String> companyIds);

    ResponseResult uploadProfile(MultipartFile file, HttpServletRequest request);

    ResponseResult updateProfile(String companyId,String profilePicture);

    ResponseResult updateCompany(Company company);

    ResponseResult uploadCompanyImage(MultipartFile file, HttpServletRequest request);

    ResponseResult getCountByCompanyId(String companyId);

}
